home *** CD-ROM | disk | FTP | other *** search
-
-
-
- XDVI UNKNOWN MANUAL SECTION XDVI
-
-
-
- NNAAMMEE
- xdvi - DVI Previewer for the X Window System
-
- SSYYNNOOPPSSIISS
- xxddvvii [+[_p_a_g_e]] [-s _s_h_r_i_n_k] [-S _d_e_n_s_i_t_y] [-p _p_i_x_e_l_s] [-l]
- [-rv] [-fg _c_o_l_o_r] [-bg _c_o_l_o_r] [-hl _c_o_l_o_r] [-bd _c_o_l_o_r] [-cr
- _c_o_l_o_r] [-margins _i_n_c_h_e_s] [-sidemargin _i_n_c_h_e_s] [-topmargin
- _i_n_c_h_e_s] [-paper _p_a_p_e_r_t_y_p_e] [-mgs[_n] _s_i_z_e] [-altfont _f_o_n_t]
- [#_g_e_o_m_e_t_r_y] [-geometry _g_e_o_m_e_t_r_y] [-display _d_i_s_p_l_a_y] [-copy]
- [-thorough] dvi_file
-
- DDEESSCCRRIIPPTTIIOONN
- _X_d_v_i is a program which runs under the X window system. It
- is used to preview DVI files, such as are produced by TeX.
-
- This program has the capability of showing the file shrunken
- by various (integer) factors, and also has a ``magnifying
- glass'' which allows one to see a small part of the unshrunk
- image momentarily.
-
- Before displaying any page or part thereof, it checks to see
- if the dvi file has changed since the last time it was
- displayed. If this is the case, then _x_d_v_i will reinitialize
- itself for the new dvi file. For this reason, exposing
- parts of the _x_d_v_i window while _T_e_X is running should be
- avoided. This feature allows you to preview many versions
- of the same file while running _x_d_v_i only once.
-
- OOPPTTIIOONNSS
- In addition to specifying the .ddvvii file (with or without the
- .ddvvii), _X_d_v_i supports the following command line options. If
- the option begins with a `++' instead of a `--', the option is
- restored to its default value. By default, these options
- can be set via the resource names given in parentheses in
- the description of each option.
-
- +ppaaggee
- Specifies the first page to show. If + is given
- without a number, the last page is assumed; the first
- page is the default.
-
- --ss _s_h_r_i_n_k
- (.shrinkFactor) Defines the initial shrink factor. The
- default value is 3.
-
- --SS _d_e_n_s_i_t_y
- (.densityPercent) Determines the density used when
- shrinking bitmaps for fonts. A higher value produces a
- lighter font. The default value is 40.
-
- --pp _p_i_x_e_l_s
- (.pixelsPerInch) Defines the size of the fonts to use,
-
-
-
- X Version 11 8 May 1989 1
-
-
-
-
-
-
- XDVI UNKNOWN MANUAL SECTION XDVI
-
-
-
- in pixels per inch. The default value is 300.
-
- --aallttffoonntt _f_o_n_t
- (.altFont) Declares a default font to use when the font
- in the dvi file cannot be found. This is useful, for
- example, with PostScript <tm> fonts.
-
- --ll (.listFonts) Causes the names of the fonts used to be
- listed.
-
- --rrvv (.reverseVideo) Causes the page to be displayed with
- white characters on a black background, instead of vice
- versa.
-
- --bbww _w_i_d_t_h
- (.borderWidth) Specifies the width of the border of the
- window.
-
- --bboorrddeerrwwiiddtthh _w_i_d_t_h
- Same as --bbww, above.
-
- --ffgg _c_o_l_o_r
- (.foreground) Determines the color of the text (fore-
- ground).
-
- --ffoorreeggrroouunndd _c_o_l_o_r
- Same as --ffgg, above.
-
- --bbgg _c_o_l_o_r
- (.background) Determines the color of the background.
-
- --bbaacckkggrroouunndd _c_o_l_o_r
- Same as --bbgg, above.
-
- --hhll _c_o_l_o_r
- (.highlight) Determines the color of the page border.
-
- --bbdd _c_o_l_o_r
- (.borderColor) Determines the color of the window bord-
- er.
-
- --ccrr _c_o_l_o_r
- (.cursorColor) Determines the color of the cursor. The
- default is the foreground color.
-
- --tthhoorroouugghh
- (.thorough) _X_d_v_i will usually try to ensure that over-
- strike characters (_e._g. \notin) are printed correctly.
- On monochrome displays, this is always possible with
- one logical operation, either _a_n_d or _o_r. On color
- displays, however, this may take two operations, one to
- set the appropriate bits and one to clear other bits.
-
-
-
- X Version 11 8 May 1989 2
-
-
-
-
-
-
- XDVI UNKNOWN MANUAL SECTION XDVI
-
-
-
- If this is the case, then by default _x_d_v_i will instead
- use the _c_o_p_y operation, which does not handle over-
- striking correctly. The ``thorough'' option chooses
- the slower but more correct choice. See also -_c_o_p_y,
- below.
-
- --ccooppyy
- (.copy) Always use the _c_o_p_y operation when writing
- characters to the display. This option may be neces-
- sary for correct operation on a color display, but
- overstrike characters will be incorrect.
-
- --mmaarrggiinnss _i_n_c_h_e_s
- (.margins) Specifies the size of both the top margin
- and side margin. This can be a decimal number, _e._g.,
- 1.5. It determines the ``home'' position of the page
- within the window as follows. If the entire page fits
- in the window, then the margin settings are ignored.
- If, even after removing the margins from the left,
- right, top, and bottom, the page still cannot fit in
- the window, then the page is put in the window such
- that the top and left margins are hidden, and presum-
- ably the upper left-hand corner of the text on the page
- will be in the upper left-hand corner of the window.
- Otherwise, the text is centered in the window. See
- also `MM' under the KEYSTROKES section.
-
- --ssiiddeemmaarrggiinn _i_n_c_h_e_s
- (.sideMargin) Specifies the side margin (see above).
-
- --ttooppmmaarrggiinn _i_n_c_h_e_s
- (.topMargin) Specifies the top and bottom margins (see
- above).
-
- --ppaappeerr _p_a_p_e_r_t_y_p_e
- (.paper) Specifies the size of the printed page. This
- may be of the form _wx_h (or _wx_hcm), where _w is the width
- in inches (or cm) and _h is the height in inches (or
- cm), respectively. There are also synonyms which may
- be used: us (8.5x11), usr (11x8.5), legal (8.5x14),
- foolscap (13.5x17), as well as the ISO sizes a1-a7,
- b1-b7, c1-c7, a1r-a7r (a1-a7 rotated), etc. The de-
- fault size is 8.5 x 11 inches.
-
- --mmggss[[nn]] _s_i_z_e
- (.magnifierSize[n]) Specifies the size of the window to
- be used for the ``magnifying glass'' for Button _n. See
- the MOUSE ACTIONS section. Defaults are 200, 350, 600,
- 900, and 1200.
-
- --mmggss _s_i_z_e
- Same as --mmggss11, above.
-
-
-
- X Version 11 8 May 1989 3
-
-
-
-
-
-
- XDVI UNKNOWN MANUAL SECTION XDVI
-
-
-
- --ggeeoommeettrryy _g_e_o_m_e_t_r_y
- (*geometry) Specifies the initial geometry of the win-
- dow.
-
- ##_g_e_o_m_e_t_r_y
- (.iconGeometry) Specifies the initial position for the
- icon.
-
- --ddiissppllaayy _h_o_s_t:_d_i_s_p_l_a_y
- Specifies the host and screen to be used for displaying
- the dvi file. This is normally obtained from the en-
- vironment variable ``DISPLAY.''
-
- KKEEYYSSTTRROOKKEESS
- XXddvvii recognizes the following keystrokes when typed in its
- window. Each may optionally be preceded by a (positive or
- negative) number, whose interpretation will depend on the
- particular keystroke.
-
- qq Quits the program. Control-C and control-D will do
- this, too.
-
- nn Moves to the next page (or to the nnth next page if a
- number is given). Synonyms are `ff', Space, Return, and
- Line Feed.
-
- pp Moves to the previous page (or back nn pages). Synonyms
- are `bb', control-H, and Delete.
-
- gg Moves to the page with the given number. Initially,
- the first page is assumed to be page number 1, but this
- can be changed with the `PP' keystroke, below. If no
- page number is given, then it goes to the last page.
-
- PP ``This is page number nn.'' This can be used to make
- the `gg' keystroke refer to actual page numbers instead
- of absolute page numbers.
-
- CCoonnttrrooll--LL
- Redisplays the current page.
-
- ^^ Move to the ``home'' position of the page. This is
- normally the upper left-hand corner of the page,
- depending on the margins as described in the -margins
- option, above.
-
- uu Moves up a window-full.
-
- dd Moves down a window-full.
-
- ll Moves left a window-full.
-
-
-
-
- X Version 11 8 May 1989 4
-
-
-
-
-
-
- XDVI UNKNOWN MANUAL SECTION XDVI
-
-
-
- rr Moves right a window-full.
-
- cc Moves the page so that the point currently beneath the
- cursor is moved to the middle of the window. It also
- (gasp!) warps the cursor to the same place.
-
- MM Sets the margins so that the point currently under the
- cursor is the upper left-hand corner of the text in the
- page.
-
- ss Changes the shrink factor to the given number. If no
- number is given, the smallest factor that makes the en-
- tire page fit in the window will be used. (Margins are
- ignored in this computation.)
-
- SS Sets the density factor to be used when shrinking bit-
- maps. This should be a number between 0 and 100;
- higher numbers produce lighter characters.
-
- RR Forces the dvi file to be reread. This allows you to
- preview many versions of the same file while running
- _x_d_v_i only once.
-
- kk Normally when _x_d_v_i switches pages it moves to the home
- position as well. The `k' keystroke toggles a `keep-
- position' flag which, when set, will keep the same po-
- sition when moving between pages. Also `0k' and `1k'
- clear and set this flag, respectively.
-
- MMOOUUSSEE AACCTTIIOONNSS
- If the shrink factor is set to any number other than one,
- then clicking any mouse button will pop up a ``magnifying
- glass'' which shows the unshrunk image in the vicinity of
- the mouse click. This subwindow disappears when the mouse
- button is released. Different mouse buttons produce dif-
- ferent sized windows, as indicated by the --mmggss option,
- above. Moving the cursor while holding the button down will
- move the magnifying glass.
-
- Also, the scrollbars (if present) behave in the standard
- way: pushing Button 2 in a scrollbar moves the top or left
- edge of the scrollbar to that point and optionally drags it;
- pushing Button 1 moves the image up or right by an amount
- equal to the distance from the button press to the upper
- left-hand corner of the window; pushing Button 3 moves the
- image down or left by the same amount.
-
- EENNVVIIRROONNMMEENNTT
- Uses the environment variable ``DISPLAY'' to specify which
- bit map display terminal to use.
-
- The environment variable ``XDVIFONTS'' determines the
-
-
-
- X Version 11 8 May 1989 5
-
-
-
-
-
-
- XDVI UNKNOWN MANUAL SECTION XDVI
-
-
-
- path(s) searched for fonts in the following manner. The
- string consists of one or more strings separated by colons.
- In each such string, the substring ``%f'' is changed to the
- font name; ``%d'' is changed to the magnification; and
- ``%p'' is changed to the font family (``gf'', ``pk'', or
- ``pxl''). If no ``%f'' appears in the string, then the
- string ``/%f.%d%p'' is added on the end. For example, if
- the string is ``/usr/local/tex/fonts'' and the font is cmr10
- at 300dpi, then it searches for
- /usr/local/tex/fonts/cmr10.300gf,
- /usr/local/tex/fonts/cmr10.300pk, and
- /usr/local/tex/fonts/cmr10.1500pxl, in that order. If the
- first character of the ``XDVIFONTS'' variable is a colon,
- then the system default paths are tried first. If the font
- is not found in the desired size, then _x_d_v_i will try to find
- the nearest size. If the font cannot be found at all, then
- _x_d_v_i will try to vary the point size of the font (within a
- certain range), and if this fails, then it will use the font
- specified as the alternate font (cf. --aallttffoonntt).
-
- The ``XDVISIZES'' variable must be set to indicate which
- sizes of fonts are available. It should consists of a list
- of numbers separated by colons. If the list begins with a
- colon, the system default sizes are used, as well. Sizes
- are expressed in dots per inch; decimals may be used for
- ``pxl'' files: for example, a 300 dots per inch file magni-
- fied by half a step comes out to 1643 dots per five inches,
- which should be encoded as 328.6. The current default set
- of sizes is 300:328.6:360:432:518.4:622:746.4.
-
- FFIILLEESS
- /sprite/lib/fonts/pk Font pixel files.
-
- SSEEEE AALLSSOO
- X(1).
-
- AAUUTTHHOORRSS
- Eric Cooper, CMU, did a version for direct output to a QVSS.
- Modified for X by Bob Scheifler, MIT Laboratory for Computer
- Science. Modified for X11 by Mark Eichin, MIT SIPB. Addi-
- tional enhancements by many others.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- X Version 11 8 May 1989 6
-
-
-
-